<%-- 
    Document   : index
    Created on : 20.4.2011, 17:02:39
    Author     : Riema
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
    <head>
        <jsp:include page="../WEB-INF/jspf/header.jsp" >
            <jsp:param name="title" value="Main Page" />
        </jsp:include>
    </head>
    <body>
        <jsp:include page="../WEB-INF/jspf/beforeWork.jsp" >
            <jsp:param name="index" value="" />
        </jsp:include>

        <h3>What do you want to do?</h3><br />
        <p>
            <a href="${pageContext.request.contextPath}/AddBook">Add book to database</a><br />
            or <br />
            <a href="${pageContext.request.contextPath}/AllBooks">Get list of all books in database</a>
        </p>
        <p>
            <a href="${pageContext.request.contextPath}/AddAuthor">Add author to database</a><br />
            or <br />
            <a href="${pageContext.request.contextPath}/AllAuthors">Get list of all authors in database</a>
        </p>

        <jsp:include page="../WEB-INF/jspf/afterWork.jsp" />
    </body>
</html>
